import request from '@/utils/request'

// 条件查询
export const bannerFindBySearchApi = (params: any) => request.get<any, any>('/banner/search', { params })

// 新增or修改
export const bannerSaveApi = (bannerData: any) => request.post<any, any>('/banner', bannerData)

// 删除
export const bannerDeleteApi = (id: any) => request.delete<any, any>('/banner/' + id)
